fix location of method