FIXED: style, syntax, bugs;