tipado 90%, faltan decls y testear