add the try-except-else-finally setences