added checks for allowance on actions