Completes hw3 with shitty solution to sidestepping asynchronous problem; just duplicated code and put it in the same scope so that get request is done and then the checks are done