enhanced css method