change constructor to permit instantiation without parameters