Adding the capeability to send a message with different length