solution to profits