collision detection + background wip