refactored index.haml, created helper method time_word