Updated styles and added foreach