Realized that my Die funciton doesn't work properly