Implemented macro evaluation