put all of the start, end, and block definitions under def post(self) and took it out of prior one