fixed count; minor edits