made clog a macro