ending work with lists and starting with dict