add print command for debug