for nim's thesis