An attempt at implementing transparency... I don't think it works though