refactor method missing