Feature weighted condition

fixes #8