set values to 0 initially