My own code confuses me.