Removed an unnecessary function (contains)