moved collision into seperate file