Changed way of sending data