Removed Duplicate Code

From Create and Index