typo fix
adds function for unrolling structures
adds func checking whether input is a structure of handles