overrides built-in second function