added new fn.extend from harvest repository