Add temporary debugging code