added GPL license (for Daniele's code)