Added example to read custom object