calculate diff and vector; trying lights