removed bugs, and corrected the xl file.