using dataype macros