define info out of the try-except