initial function creation for notes