Encapsulate display function into bio and projects object