Refactored method to reduce code duplication
Refactored method to reduce code duplication

ashley-jelks-truss/DoDidDone,tenshiemi/DoDidDone,trussworks/DoDidDone,trussworks/DoDidDone,ashley-jelks-truss/DoDidDone,tenshiemi/DoDidDone