added physics and collision