override methods in ConnectionHandler