added chr6dm code