renamed the attach array indexes