Added a bunch of logging and used the correct response variable