improve simple example to use exactly the same parse method