early template of the XRAYBGAN project — Deca