Initialise to NULL (especially r2)!