initial commit for data staging functions