Changed styles
Style changes
fixed errors with events API