opt method of fetch records