fix .contains() method.Fixes #10