forgot to remove os.Exit()