add is working correctly