My implementation of the Changing Background solution