opticalLwas macro