finishing up __main__