updated readme and corrected syntax errors