implement add method(without return value (TODO))