add undefined return to main