improved css and test coverage