WIP: template client