name the doordata ptr, cleanup a loop in the prepare