combining repeated code