construrct a portal