removed EOF restriction