added validation for fund_type