Removing unneccesary exit