Initial draft. Breaks easily but works when requests match data
Error handling