parses PTX correctly. now need to add code