adding print statements, attempting to debug on the server