modify function access