added int array constructor