check for existence for func before using