moved physics to kernel