added new events, adjusted styles