working notes but ugly