debuging sub-methods