comparing the method works now