updating template helpers to better syntax