file renamed

inplemented many functions for debugging