mods to fptd to allows use of different pcoords