apply should work with just a function name too