It works! But with bad practices :(