assign feature_id to story
prettify logging and code