added style name to main objects