add some puts statements to check responst