exception handling + stable execution