DRY'd up the empty states by using a template