added default 0 to time stopping