working on processing simulation