add pivotal access logic