Added data object loader function