Fixed spelling errors in anothations. refactor variable names.