switched from php namespace to function prefixes for easier use in template files