link open. map reduce refactering.