Additional error checking (i.e. connecting w/ null)