convert notes array to pointer