don't use global for connection string
rename variable
don't use parent to add to attributes