added a getter method for user variables