adding if statement for models with no records, use symbols in methods called in #show