add print for debug purpose