The green element method