Whoops - forgot to remove debug code