Appended some semi-colons and modified a bit.