changed parameters for new constructor of Note