moved makeTransparent()