modifiying decorator example