Changed exit() way