xtal stuff