remove isFunction helper