generation of the cross