additional null argument check