added debug that will work