Stabilized functions, added catch exception