contains function added