can now intelligently render story elements from database.