incorporated some of lex styling