merged map and list into styles