Recreated cleint.cs