New method and code