location encapuslation