postparsing functions