woops - left some debugging code in :)