added print to debug