added part on casting iterable types