Added a bit more, find works, exit(0) needs to work better