added action for adding assignments