added cealign method