added valueForKeyPath in model class