added aditional parameter for check similarity...