https://www.th3accountant.com/2021/03/Cost.system.html