chunks rewritten and grammar fixed