Added get function.