Added in a return to fix eof