added listArray but needs some more time