renamed test main to main