change constructor