Todo: figure out why pstr not working