actually return the number steps... not the number of steps minus 1