adding support for ghost functions
switching to linked maps