added inlineStyle function