trying to de-bug it still

still trying to work on de-bugging code.