all and single record fetch working