This doesn't look like a performance improvement rectifying code duplication.