Formatting
Typos and using wrong variable.