changed from replacing "." in key with "_" to "|"; added onevar analysis method