added semi-useless local checker