working on peer client stuff