check for nil before assocations