added few hooks; improved css a little