added comments in code so I can come back to this tomorrow