Added functionality to check the profitability of projects