changed sample coordinates