add fastnn to context