using decorator instead