Adding note functionality