returns array instead of hash