added structure for performing collision physics