add and delete actions working