added style hooks