X algebra and its use