added SplitAlign func