document utils function
viewport docs