changing to shift so that we get the first element