testing - crappy OpenCV code