replaced some zeros() with Array()