Removed Unessesary Variables and Set up Console log