. "A court can consider well-pled factual allegations as well as affidavits and other written materials submitted by the parties in making this determination." . . .