method used