different instructions based on connection+status