Added option for user defined styles