added style hook