client template almost done