updated loafs input structure