add a { for a main function