added comments to map controller