Code used for my job.