implementation of portal map