added rudimentary room event handlers