adjusted coding

Coding is not working when being tested in my browser. I am making
small adjustments in an attempt to fix this error.