working in hook_init