give isOpaque an argument