Added more rt collision code