finishing client stuff