add ctrlz switching