notes: reading code from m1guel