renamed global to public - fixed directions