nit: you can use `new Image()`