adds put operation