Ought to check getting long id was successful before setting the it variable, lest we have a nil-pointer crash