finished c besides client implementatin no idea concerning d