scope and collision stuff