This line can be reduced to the following since the @frames variable is the only one that needs to be accessed outside of the class.
```
  attr_accessor :frames
```