Fixed calls to camelCase function names in main