Added example with void