some format chaning and bst structure intiated