added features and cpds