we don't need to check null, since this method is only called once