reduced code complexity
showing the required css