Enable input of distance
Enable input of distance