factor out member style