refactor people views