working on refactoring trip -- elevation chart working