removed more unncessary sensor code