working response time graph
renamed functions
ready to jar it up and using a header