added some debuggin