more work on actions block
convert to actions block