i wasnt able to decouple PrepareToSend and commands check