add print func for debugging