EOF needs to be first char