Added rough debugging.