Improved object detection