added print statements to help with debug (lazier by the second..)