added simple txt testing, BAD CODE