minor change in constructor