Tidied code, switched some def's to let's, and deleted credentials.
dashes are usually used instead of underscores, by convention