To be honest. I don't know if I put them in the right place. But here is the code