Add method to get values not only prints