Thank you for writing so much, it is very helpful. The code is pretty messy because I was in a hurry. I will do better next time