amending last commit. including exit at the end