added custom style support