added the whereAnd Clause Function