debug and test

features added work now