keys funtionaliy(iterator) woring fine