Added function syntax

Added function syntax to allow Ctrl+R within file