adding send methods to InputHandler.java