added checkForAlias Method