rename member to distance