final revisions after correcting firebug errors