renamed method, added another version