null check is not necessary