added spec table and corrected both table and code