add method getCurrent