added super call in constructor