not sure why passed is flipped