finished printXY