implemented simple character navigation