hothead's web sample codes