option to fetch with conditions