started implementing client