check declared functions