roll back the code, add attribute and constructor
roll back the code, add attribute and constructor