tweak frontpage first example code