adding is_function check