changed the end