Implemented the rcon() method