summary inherits from table not data.frame