code examples for implicits