Changed code so we reached MainServer.send method