created method to generate finger print