refactored the translucency