implement the note mecha