added x collision and hold for run