refactoring access through acess_point as paramenter