fixed type of argument in constructor