Renamed method vavariables to avoid name conflict