server wired up to angular, need to set up the math for offsetting