csv method used instead of hash