removed some fluches and made some ebug statements printf