pipeline shifts correctly, still a bug somewhere