Fix bugs with exceptions handling
Have a readable name for programs functions