lab2 put and post changes