added ability to specify style