adding option for force exit