refactor hookups index view