memory convenience functions