- defining global view helpers