XTAL working