First version of client profit calculator