Added example for custom semantics