add alternate and diff algorith