add Opp __init__ and sample function