datastate() function to provide the container used by default templates