changes in constructor