added portal loader