Syntax for writing functions in function blocks

Thanks Bryan