moved function into new module, named it "helpers".