setting each element to 0 on init