Added halfop support