Changes in constructor
Solved typo error