hosted example code