Developing cadastrar function.