adding styling functionality