added 3d glasses method