cleanup + title
reading from type.txt