Begin decomposing Hadoom into smaller functions