code and notes