made getOpportunity static