* Copyright (C) 2009 Roman Masek