renamed callHook() to call()