adding action_loss