Encapsulates sending logic