Note count adjusted + generating note function adjusted + note color adjusted.