added calculations to inch endpoint