Basic macro implementation