Refactor first_show_time