Small style complaint: Please always use { }, even for single-line if's.