adding stylesheet, more code cleanup