work in progress. trying to make _check_function work properly for all functions in Base