code with tilt image and bucket