Added getter functions

untested !