Implement macro