convenience functions for making data objects