add where options to the api;