pre sidste fix
now with working sensor