xmax build from v.1.06