getting to the end