added profit problem incomplete