moved and corrected placement of semi colons