add comment; missing semi-colons; fix spacing