added style option
refactor
refactor