working with objects and has command functions to send to payload