put statement implemented