Impact test code

semi working.