moved indenting to function that generates styles