add some features computation