added n value to the ref for reprint from mark up