Works, but need to handle portalgun\'s unique structure