Added socket events