readded lin and register index