trying to fix xyflyer class functionality