trying to fix context switching :(