Please tell for which test case the code is not working.
hello @Aparna add one condtion before this.
fast!=NULL