make transparency level a setting