E.coli has chemoreceptors, and proteins which act downstream, to regulate the bacterium's proportions of runs and tumbles controlling its movement towards an attractant. The CheZ protein dephosphorylates the CheY protein, allowing the bacteria to run instead of tumbling. We used CheZ mutants, unable to move, and only allowed the expression of the CheZ protein on a riboswitch sensitive to theophylline. This allows the bacteria to be artificially sensitive to it. Once the attractant was reached, these genes were switched off and the bacteria was sensitive to another attractant, allowing it to return to its start position.