more work on reflist generation