Fixed errors in the code, also moved the word into the box