add comparing function
version 2.0 is ready