Created assets and an if()