method compated