Added assert to utils