roughly sensing but with problems, well commented