Beginning of adding client function, need to figure out shape of solution