changed featranges to [] from {}