Handles nil case