Fix method difinition