added parse example (bad, leaky, to-be-refactored)