major revisions; fixed serious flaws