added where functionality for Knots