returning int from abort