add start and stop key feature