using single table inheritance to define different note types