don't encrypt literals on $do operation
better logging