added style mapping feature