added getPortals function