removed unneeded sensor=true/false