This starts looking hackish :-)