source and license E2 Resolu by David Revoy