Fixed typo
Added accessing functions via module variables
Fixed a 'forgot to declare variable' issue
Operator precedence now goes in the correct direction