adding the ! before the identifier is the same as checking $2 == $null
!$2 means $2 does not exist, returns $null