problem in trying to get values from the class implementation