almost done adding client need to be added switching by keypressing