add in usage of functions as keys