added latidue processor
moved some stuff out of sma and into here