edits to thrust 3