Initial release, prs logic on client