Adding a burn function