WIP: Refactor now appear function. Still needs testing.