added ptr&funcs with struct

also renamed a text file