minor changes while exploring code: saving output and format of features dict