removed console.logs
added exact and contains optional filters