new formula, still not perfect..
proximity detector works!