additional null check