Let's make all of these a len check like above; looks great otherwise!