updated pta

started working on link functionality
added newline feature