adds put statement