updated to work with note class, still to define print methods