Added bug fixing prints.