fixed looping and added missing notes