more editing....

did no error checking; wrote this straight into the github code editor. advanced apologies if there happen to be a lot of error signs that pop up.