implemented --call hooks