Added missing semicolons
Added in some variables to make syntax readable