implementing endAccess policy
refactoring to allow for more interfaces