add decorator to a calss