modifying to not wrap amd module within define.