removed dead code and unnecessary styling properties