created a excerpt function for profiles and implementing uni list