Function is renamed to method