changed to initialize to zero instead of random