optimise note feature