some little changes. And trying to add a registration