Commiting the dead stock register code