added opacity setting