added stylesheet create function