trying to change end points