shared finalY variable