disparity calc added