Added textbook macros