FINALLY DONE WITH THE LAST TASK! Now I just need to refactor it =)