Refactoring for security and OCD
Replaced assets local variable to instance variable