slightly changed note creation