replash hash with array due to perfomance