modified seq lock