add where clause to function declaration