removed some whitespace and added missing semi colon's