ensure method now work as it was supposed to and contains(double,...) has become inline