change argument to returnEOFs