put in line length cap for greg, may cause some other problems
added the styles to the actions