strange code  should be `list(data.items())` if the list is needed in the following