added discrete features