major work on delite integration and macros