removed unneeded exit