example added.
better errors