exit 0 at end (anyhow should be discussed with curly whether the is common error variable
to check it before, return error, or exit 0)