Made the can_receive code more clear