Changed method X,Y and Z to own methods!