Code from working thru the Epicodus videos