rendering entity struct