renamed method, added implementation