add more of code into object constructor