added objMatch method