switched to hash output