added super() to constructor