Move example to separate file