fixed one poll that I overlooked last time
making sure defer is pushed before sending command, and adding a lot more prints to every function