Changed: i++ to ++i