TODO: forked refs are properly set up now