now reads and prints basic macros