changed redefine method to replace overrides instead of extending