implemented checker functions for functions/variables