place curly brace at the end of function line