added left and right to half class