mostly working app w/ txt