Copyright (c) 2010 Hannu Mallat