added missing parameters adminCode and action