css in a separate file
minor code optimizations