Updated example to include options & callbacks