filled out somewhat- where am i missing a null check?