remove old function CreateProgram