Fix on method definittion