added check function, pushed v2.0.1