minor styling and query for table