removed contains function