Added functions for notes