Optimized the code and added styles