adding default sample hooks