my final attempt to read JS for the night