added the helper ffunctions in templates to make sure translation could happen