creating ways to go between modes