removed unused hooks