Improved docking example