added print for debug