added collision class. won't compile yet needs fix