testing with simulation done and working.