fixed portals, mostly working now