function resize works
provisorio