inherit hooks