add return value for main function