changed value method to get