Client is copy-paste(in future will plan some changes)