convert the hooks to IC