rebae seems to be finished, need tog et stevens newer code incoroprated for further debigging