customer class passing due to hashes