added where functions