start implementing postscript functions