Renaming and reducing variables.
Changing to 80 percent height.
Adding initialization code.