add and contains working