reading response + updates to code