* created functions.inc to hold common functions for /pia/