minor edits. mostly changing case