using string idnumber indtead of pi