Working perfectly

Just need to remove the debugging code