pps replace with a struct array to accomodate fpoints coordinates along with their names