added portal stuff

added portal stuff