refractored some css