changed number of arguments in constructor to 1