creating case for close data