added xcf stuff