default return type is now 'void'
add optional clone for ast
change capture logic