printing object value