changed back distance from 20 to 10