fixed wrong placement of temp data - need to test on robot