getting rid of the custom hard-coded styles
making sure all the variables are declared