removed unecessary exit