replaced get() with contains()