added static methods getLocal and getCurrent