added custom excerpt function