pass an instance of My into the provided constructor