Adding more functions to the defaultStyle function