Create EMxfunctions.pas