created new method with textalign center,modified corporationDate method