13th commit, slope preference added