small change in code, not realy correct