excerpt function dup removed