The teacher offered the students a choice between writing a how-to or a descriptive essay for extra credit. In this sentence, which is the indirect object?

credit

choice

essay

students