updated notes and used interpolation for readability