some more work on line registry