Removed console.logs because I'm a plebain casual gamer and left them
in.