lets do readlines manually