added default initialization to 0