add style() and a test for it