Added if statement to show a no-content message