adapted math.xls to different setup