First untested implementation of client