Adjust Having method to use parameters