corrected standard decorator