improving Quake sample