added zeroing