two sided sequence