adding show function for entities