Separate note as module and change function call