slight tweak to set dummy val to 0