cleaned up discovers show page code