commenting foreign keys and correcting number of parentheses