add print debugging to add