see comment above (null checks)