added some debug NSlogs