add method for sending package